<div style="padding: 0 10px;">
    <div style="font-weight: bold;padding: 5px;">新建耗材费<span class="asterisk">*</span>:</div>
    <div class="historyBox" style="width: 80%;">
        <div>牙位</div>
        <div style="flex: 2;">耗材<span class="asterisk">*</span></div>
        <div>门店<span class="asterisk">*</span></div>
        <div>数量<span class="asterisk">*</span></div>
        <div>单价<span class="asterisk">*</span></div>
        <div>金额<span class="asterisk">*</span></div>
        <div>实付金额<span class="asterisk">*</span></div>
        <div>所属类别<span class="asterisk">*</span></div>
        <div style="flex: 0.5;">操作</div>
    </div>
    <div class="machiningBox" id="machiningBox">
        <div class="historyBox" style="padding: 5px 0;">
            <div class="toothPosition">
                <div style="flex: 1;border-bottom: 1px solid #999999;display: flex">
                    <input style="border-right: 1px solid #999999;text-align: right;height: 14px;" class="leftUp leftUp2" name="leftUp" >
                    <input class="rightUp rightUp2" style="height: 14px;" name="rightUp" >
                </div>
                <div style="flex: 1;display: flex">
                    <input style="border-right: 1px solid #999999;text-align: right;height: 14px;" class="leftDown leftDown2" name="leftDown" >
                    <input class="rightDown rightDown2" style="height: 14px;" name="rightDown" >
                </div>
            </div>
            <div style="flex: 2;">
                <input class="selectStyles consumableName" name="consumableName" style="width: 80%;"/>
            </div>
            <div>
                <select type="text" class="selectStyles arrivalStore" name="arrivalStore" id="storeNew" style="width: 95%;height: 24px;">
                    <option value="">--请选择门店--</option>
                    @for(str in outpatientManagementList){
                    <option value="${str.simplename}">${str.simplename}</option>
                    @}
                </select>
            </div>
            <div>
                <input class="selectStyles number" name="number" oninput = "value=value.replace(/[^\d]/g,''),consumablesNumber(this)"/>
            </div>
            <div>
                <input class="selectStyles price" name="price" oninput = "value=value.replace(/[^\d]/g,''),consumablesPrice(this)"/>
            </div>
            <div>
                <input class="selectStyles amount" name="amount" readonly="readonly"/>
            </div>
            <div>
                <input class="selectStyles amountActually" name="amountActually" oninput = "value=value.replace(/[^\d]/g,''),consumablesActually(this)"/>
            </div>
            <div>
                <select type="text" class="selectStyles type" name="type" style="height: 24px;">
                    <option value="">全部</option>
                    <option value="固定修复">固定修复</option>
                    <option value="活动修复">活动修复</option>
                    <option value="种植类">种植类</option>
                    <option value="正畸类">正畸类</option>
                </select>
            </div>
            <div class="delete" style="flex: 0.5;cursor: pointer"><span class="glyphicon glyphicon-trash"></span></div>
        </div>
        <div id="addWay" style="position: absolute;right: -26px;top: 8px;font-size: 16px;"><span class="glyphicon glyphicon-plus"></span></div>
    </div>
    <div class="totalBox">
        <div><span>总计：</span><span id="consumablesTotal"></span></div>
    </div>
    <div style="margin:25px 0 10px;">
        <div style="margin-bottom: 13px;">
            <span style="vertical-align: top;display: inline-block;">医生姓名：</span>
            <select type="text" id="doctors" name="doctor" style="width:135px;height: 28px">
                <option value="">--请选择医生--</option>
                @for(str in doctorList){
                <option value="${str.doctor}">${str.doctor}</option>
                @}
            </select>
        </div>
        <div>
            <span style="vertical-align: top;display: inline-block;">备注信息：</span>
            <textarea name="remarks" id="remarkss" style="width: 300px;"></textarea>
        </div>
    </div>
    <div class="btnBox">
        <button type="button" id="ensure" class="btn">确定</button>
        <button type="button" id="cancel" class="btn" onclick="TechnologyTableList.close()">取消</button>
    </div>
</div>
<script src="${ctxPath}/static/modular/doctorLooked/doctor_process.js?v=20200628"></script>